The kaffara – in our time – for violating an oath or a vow is feeding ten poor persons, by giving each one of them 900 grams of food, or clothing them; if neither of these are possible, then one should fast for three consecutive days.
If the price paid for the sold house is more than the price paid when you purchased it, then the profit will be added to your income for that year which will be subject to Khums after the deductions of expenses. If the sale price for the house is less than the purchase price then the proceeds of the house are not subject to Khums.